package com.linuxone.news;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class NewsThread implements Serializable {
	private static final long serialVersionUID = 421149159504373990L;
	private String id;
	private String ProviderName;
	private String Title;
	private String DateTime;
	private List<String> Content;
	private String URL;
	private Date date;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
//	public void setDate(String dateString, String formatString) {
////		SimpleDateFormat format = new SimpleDateFormat("yyyy-M-d HH:mm:ss");
////		SimpleDateFormat formatter = new SimpleDateFormat(formatString);
//		DateTimeFormat formatter = DateTimeFormat.getFormat(formatString);
//		this.date = formatter.parse(dateString);
//	}
	public String getProviderName() {
		return ProviderName;
	}
	public void setProviderName(String providerName) {
		ProviderName = providerName;
	}
	public String getTitle() {
		return Title;
	}
	public void setTitle(String title) {
		Title = title;
	}
	public String getDateTime() {
		return DateTime;
	}
	public void setDateTime(String datetime) {
		DateTime = datetime;
	}
	public List<String> getContent() {
		return Content;
	}
	public void setContent(List<String> content) {
		Content = content;
	}
	public void setURL(String uRL) {
		URL = uRL;
	}
	public String getURL() {
		return URL;
	}
	
	
}
